// Copyright 2023 Specter Ops, Inc.
//
// Licensed under the Apache License, Version 2.0
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// SPDX-License-Identifier: Apache-2.0

html,
body,
#root {
    height: 100%;
    background-color: #e4e9eb;
}

body {
    margin: 0;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

ul li.active {
    text-decoration: underline;
    color: #406f8e;
}

.MuiInputAdornment-filled.MuiInputAdornment-positionStart:not(.MuiInputAdornment-hiddenLabel) {
    margin: 0;
}

form {
    flex-grow: 1;

    .MuiFormControl-root {
        display: block;
    }
}

.link {
    text-decoration: underline;
    cursor: pointer;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.even-item {
    background-color: #fafafa;
}

.even-item:hover {
    background-color: #ccc;
}

.odd-item {
    background-color: #eee;
}

.odd-item:hover {
    background-color: #ccc;
}

* {
    scrollbar-width: thin;
    scrollbar-color: $lighter-blue #aaa;
}

svg {
    display: block;
}

.button-icon {
    margin-right: 8px;
}

hr.MuiDivider-middle {
    border-top: thin solid #a9a9a9;
    background: none;
    margin: 0 14px 0 14px;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: #aaa;
    box-shadow: inset 0 0 2px #444;
}

::-webkit-scrollbar-thumb {
    background: $lighter-blue;
}
